const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  publicPath: './',
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    hot: "only",
    https: false,
    proxy: {
      "/proxy-api": {
        target: "http://localhost:6789", //代理接口
        changeOrigin: true,
        secure: false,   // https请求则使用true
        pathRewrite: {
          "^/proxy-api": "" //代理的路径
        }
      }
    },
  }
});
